package org.example.domain;

import lombok.Data;

import java.util.ArrayList;

@Data
public class User {
    private String name;
    private String accountNumber;
    private String passWord;
    private Integer amount;

    //转账消息
    private ArrayList<TransferMsg> transfer = new ArrayList<>();
    //收账消息
    private ArrayList<TransferMsg> collect = new ArrayList<>();

    public User(String name, String accountNumber, String passWord, Integer amount) {
        this.name = name;
        this.accountNumber = accountNumber;
        this.passWord = passWord;
        this.amount = amount;
    }



}
